package com.halflife.comeElectricity.orderMng.reFund;

public enum ReFundEnum {

    PROCESS(0,"退款中"),
    SUCCESS(1,"退款成功"),
    CHANGE(2,"退款异常"),
    REFUNDCLOSE(3,"退款关闭"),
    UNKNOW(100,"未知状态");

    public int m_orderStatus;
    public String m_status;

    ReFundEnum(int orderStatus, String status){

        m_orderStatus = orderStatus;
        m_status = status;
    }

    public static ReFundEnum getStatus(int order_status){

        for(ReFundEnum o : values()){

            if(order_status == o.m_orderStatus){

                return o;
            }
        }
        return UNKNOW;
    }
}
